﻿
namespace MadLibrary.Managing
{
    /// <summary>
    /// Managable interface
    /// </summary>
    public interface IManagable
    {
        /// <summary>
        /// Size
        /// </summary>
        int Size { get; set; }

        /// <summary>
        /// Load
        /// </summary>
        /// <param name="data"></param>
        void Load(byte[] data);

        /// <summary>
        /// Save
        /// </summary>
        /// <returns></returns>
        byte[] Save();
    }
}